package cn.xueden.system.mapper;

import cn.xueden.system.model.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @author:梁志杰
 * @date:2025/6/8
 * @description:cn.xueden.system.mapper
 * @version:1.0
 */
public interface RoleMapper extends BaseMapper<Role> {

    /**
     * 根据角色ID查询角色编码
     * @param roleId
     * @return
     */
    List<String> selectCodeById(Integer roleId);
}
